//
//  AIHomeCollectionViewItemCell.m
//  aixianfeng
//
//  Created by wangwei on 2016/12/25.
//  Copyright © 2016年 lijiangbo. All rights reserved.
//

#import "AIHomeCollectionViewItemCell.h"
#import "AIHomeItemModel.h"
@interface AIHomeCollectionViewItemCell()
//这个是图片
@property (weak, nonatomic) IBOutlet UIImageView *imgImageView;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *specificsLabel;

@property (weak, nonatomic) IBOutlet UILabel *partner_priceLabel;

@property (weak, nonatomic) IBOutlet UILabel *market_priceLabel;
@property (weak, nonatomic) IBOutlet UIImageView *pm_descImageView;

@end

@implementation AIHomeCollectionViewItemCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    
    
    
}

- (void)setItemModel:(AIHomeItemModel *)itemModel {
    _itemModel = itemModel;
    
    [self.imgImageView sd_setImageWithURL:[NSURL URLWithString:itemModel.img] placeholderImage:nil];
    self.nameLabel.text = itemModel.name;
    self.specificsLabel.text = itemModel.specifics;
    self.market_priceLabel.text = itemModel.market_price;

}

@end
